<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<script type="text/javascript">
 $(function(){
	$("#de1").css("background", "gray");
	$("#de2").css("background", "gray"); 
	$("#de3").css("background", "gray");
	
	$("#leaveMember").click(function(){
		if(confirm("정말로 탈퇴하시겠습니까?")){
			alert("ㅋㅋㅋㅋㅋㅋ 탈퇴 안되지롱!");
			location.href="leaveMember.do?id=${sessionScope.mvo.id}";
		}
	});
 });
</script>
<form action="update.do" method="post">
ID : <input type="text" id="de1" value="${sessionScope.mvo.id}" name="id"  readonly><br>
Password : <input type="text" value="${sessionScope.mvo.password}"  name="password"><br>
name : <input type="text" value="${sessionScope.mvo.name}"  name="name"><br>
e-mail : <input type="text" value="${sessionScope.mvo.email}"  name="email"><br>
point : <input type="text" id="de2" name="point" value="${sessionScope.mvo.point}"  readonly><br>
grade : <input type="text" id="de3" name="grade" value="${sessionScope.mvo.grade}" readonly><br>
<input type="submit" value="확인">
<input type="reset" value="취소">
<input type="button" value="회원탈퇴" id="leaveMember">
</form>